package com.yf.entity.course;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 报名实体
 * 表名 sign_up
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Nov 15 16:55:54 CST 2018
 */
@Setter
@Getter
public class SignUpEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //ID
    private Long id;
    //报名人ID
    private Long userId;
    //活动ID
    private Long activityId;
    //报名价格
    private BigDecimal price;
    //零售价格
    private BigDecimal retailPrice;
    //ENUM-支付类型:'未支付','已支付','代付'
    private Integer payStatus;
    //创建时间
    private Date createTime;
    //手机号码
    private String phone;
    //支付编号
    private String orderNo;

    public SignUpEntity(){

    }

    public SignUpEntity(Long userId, Long activityId, BigDecimal price, Integer payStatus, Date createTime, String phone, String orderNo) {
        this.userId = userId;
        this.activityId = activityId;
        this.price = price;
        this.payStatus = payStatus;
        this.createTime = createTime;
        this.phone = phone;
        this.orderNo = orderNo;
    }
}
